﻿using System;
using Volo.Abp.Domain.Entities;

namespace PasteLoggerBoard.usermodels
{
    /// <summary>
    /// 
    /// </summary>
    [CType("long")]
    public class WebHookLog : Entity<long>
    {
        /// <summary>
        /// 
        /// </summary>
        public int WebHookerId { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime CreateDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 发送结果
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 发送的内容
        /// </summary>
        public string Body { get; set; } = "";
    }
}
